﻿using SmartHotel.Dto;
using SmartHotel.Users.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace SmartHotel.Users
{
    public interface ISmartHotelAppUserService: IApplicationService
    {
        Task<ResultDto<CreateUpdateUser>> CreateAsync(CreateUpdateUser model);
        Task<PageUserDto<UserDto>> GetHashCode(int pageIndex, int pageSize, string userName);
        Task<LoginResultDto> PostLoginAsync(LoginDto dto);
        Task<ResultDto<UserDto>> UpdateUser(CreateUpdateUser model);
        Task<ResultDto<int>> DeleteUser(int id);


    }
}

